package edu.sctu.java.builder;

public class Test01 {
    public static void main(String[] args) {

        // 方法1：直接通过Builder生成user对象
        User user = new User.Builder()
                .username("chen")
                .gender("male")
                .password("123456")
                .build();

        System.out.println(user);
    }
}
